<div class="menu"
     xmlns="http://www.w3.org/1999/xhtml"
     xmlns:c="http://java.sun.com/jstl/core"
     xmlns:ui="http://java.sun.com/jsf/facelets"
     xmlns:f="http://java.sun.com/jsf/core"
     xmlns:h="http://java.sun.com/jsf/html">
    <dl>
        <dt class="menuHeader">#{msgs.browseSearchHeader}</dt>
        <dd class="menuForm">
            <h:form>
                <dl>
                    <dt><h:outputText value="#{msgs.searchTitle}" /></dt>
                    <dd><h:inputText value="#{search.title}" size="15"/></dd>

                    <dt><h:outputText value="#{msgs.searchActor}" /></dt>
                    <dd><h:inputText value="#{search.actor}" size="15"/></dd>
                    
                    <dt><h:outputText value="#{msgs.searchCategory}" /></dt>
                    <dd>
                        <h:selectOneMenu value="#{search.category}"
                                         converter="#{catbean.converter}">
                            <f:selectItem itemLabel="Any" itemValue="#{catbean.nullCategory}"   /> 
                            <f:selectItems value="#{catbean.categories}" />
                        </h:selectOneMenu>
                    </dd>
                    <dt><h:outputText value="#{msgs.searchPageSize}" /></dt>
                    <dd>
                        <h:selectOneMenu value="#{search.pageSize}">
                            <f:selectItem itemLabel="10" itemValue="10" />
                            <f:selectItem itemLabel="15" itemValue="15" />
                            <f:selectItem itemLabel="20" itemValue="20" />
                            <f:selectItem itemLabel="30" itemValue="30" />
                        </h:selectOneMenu>
                    </dd>
                    
                    <dd>
                        <h:commandButton action="#{search.doSearch}" 
                                         value="#{msgs.searchButton}"
                                         class="formButton" style="width: 166px;"/>
                    </dd>
                </dl>
            </h:form>
        </dd>
    </dl>
</div>
